home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / gdb-4.5 / sun4.md / gdb / xm-sun4os4.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-24  |  1.8 KB  |  49 lines

  1. /* Macro definitions for running gdb on a Sun 4 running sunos 4.
  2.    Copyright (C) 1989, Free Software Foundation, Inc.
  3.  
  4. This file is part of GDB.
  5.  
  6. This program is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2 of the License, or
  9. (at your option) any later version.
  10.  
  11. This program is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with this program; if not, write to the Free Software
  18. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. #include "xm-sparc.h"
  21. #define FPU
  22.  
  23. #ifdef sprite
  24. #define USRSTACK 0xf6000000
  25. #define STACK_END_ADDRESS 0xf6000000
  26. #define NO_SIGINTERRUPT
  27. #endif
  28.  
  29. /* Large alloca's fail because the attempt to increase the stack limit in
  30.    main() fails because shared libraries are allocated just below the initial
  31.    stack limit.  The SunOS kernel will not allow the stack to grow into
  32.    the area occupied by the shared libraries.  Sun knows about this bug
  33.    but has no obvious fix for it.  */
  34. #define BROKEN_LARGE_ALLOCA
  35.  
  36. /* SunOS 4.x has memory mapped files.  */
  37.  
  38. #define HAVE_MMAP
  39.  
  40. /* If you expect to use the mmalloc package to obtain mapped symbol files,
  41.    for now you have to specify some parameters that determine how gdb places
  42.    the mappings in it's address space.  See the comments in map_to_address()
  43.    for details.  This is expected to only be a short term solution.  Yes it
  44.    is a kludge.
  45.    FIXME:  Make this more automatic. */
  46.  
  47. #define MMAP_BASE_ADDRESS    0xE0000000    /* First mapping here */
  48. #define MMAP_INCREMENT        0x01000000    /* Increment to next mapping */
  49.